package com.example.gokchinesefoodmappcdev.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.io.Serializable;

/**
 * 商品信息(GoodsInfo)实体类
 *
 * @author makejava
 * @since 2022-11-27 15:48:21
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("goods_info")
public class GoodsInfo implements Serializable {
    private static final long serialVersionUID = 745407298220850222L;
    /**
     * 主键
     */
    private Integer id;
    /**
     * 商品编号
     */
    private String goodCode;
    /**
     * 商品名称
     */
    private String goodName;
    /**
     * 商品描述
     */
    private String goodDesc;
    /**
     * 商品详情富文本
     */
    private String goodDetails;
    /**
     * 上架状态，0否，1是
     */
    private String onSale;
    /**
     * 商品分类
     */
    private String goodType;
    /**
     * 上架时间
     */
    private Date onSaleDate;
    /**
     * 审核状态，0待审核，1已通过，-1已拒绝
     */
    private String reviewStatus;
    /**
     * 商户id
     */
    private Integer merchantId;
    /**
     * 创建用户
     */
    private Integer userIdCreate;
    /**
     * 创建时间
     */
    private Date gmtCreate;
    /**
     * 修改时间
     */
    private Date gmtModify;
    /**
     * 历史，1历史，0在用
     */
    private String isHis;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getGoodCode() {
        return goodCode;
    }

    public void setGoodCode(String goodCode) {
        this.goodCode = goodCode;
    }

    public String getGoodName() {
        return goodName;
    }

    public void setGoodName(String goodName) {
        this.goodName = goodName;
    }

    public String getGoodDesc() {
        return goodDesc;
    }

    public void setGoodDesc(String goodDesc) {
        this.goodDesc = goodDesc;
    }

    public String getGoodDetails() {
        return goodDetails;
    }

    public void setGoodDetails(String goodDetails) {
        this.goodDetails = goodDetails;
    }

    public String getOnSale() {
        return onSale;
    }

    public void setOnSale(String onSale) {
        this.onSale = onSale;
    }

    public String getGoodType() {
        return goodType;
    }

    public void setGoodType(String goodType) {
        this.goodType = goodType;
    }

    public Date getOnSaleDate() {
        return onSaleDate;
    }

    public void setOnSaleDate(Date onSaleDate) {
        this.onSaleDate = onSaleDate;
    }

    public String getReviewStatus() {
        return reviewStatus;
    }

    public void setReviewStatus(String reviewStatus) {
        this.reviewStatus = reviewStatus;
    }

    public Integer getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Integer merchantId) {
        this.merchantId = merchantId;
    }

    public Integer getUserIdCreate() {
        return userIdCreate;
    }

    public void setUserIdCreate(Integer userIdCreate) {
        this.userIdCreate = userIdCreate;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModify() {
        return gmtModify;
    }

    public void setGmtModify(Date gmtModify) {
        this.gmtModify = gmtModify;
    }

    public String getIsHis() {
        return isHis;
    }

    public void setIsHis(String isHis) {
        this.isHis = isHis;
    }

}

